package org.ljy.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreateUserByActivityParam implements Serializable {

    @NotNull(message = "相关人员id不能为空！！")
    private Long userId;

    @NotBlank(message = "相关人员名字不能为空！！")
    private String userName;

}
